package BusinessLayer;



public class Note {

	/**
	 * la note de premiere session
	 */
  private String noteSession1;

  /**
   * la note de deuxieme session
   */
  private String noteSession2;

  /**
   * setter de la note de deuxieme session
   * @param noteSession2
   */
  private  String numEtudiant;
  
  private String codeMatiere;
  
  
  /**
   * constructeur
   */
  public Note ( String noteSession1){
	  this.noteSession1=noteSession1;
  }
  
  public Note ( String noteSession1, String noteSession2){
	  this.noteSession1=noteSession1;
	  this.noteSession2=noteSession2;
  }
  
  public Note ( String numEtudiant, String codeMatiere, String noteSession1, String noteSession2){
	  this.noteSession1=noteSession1;
	  this.noteSession2=noteSession2;
	  this.numEtudiant=numEtudiant;
	  this.codeMatiere=codeMatiere;
  }
  
public void setNoteSession2(String noteSession2) {
	this.noteSession2 = noteSession2;
}
/**
 * getter de la note2
 * @return la note de deuxieme session
 */
public String getNoteSession2() {
	return noteSession2;
}

/**
 * setter de la note de premiere session
 * @param noteSession1
 */
public void setNoteSession1(String noteSession1) {
	this.noteSession1= noteSession1;
}

/**
 * getter de la note de premiere session
 * @return la note de premiere session
 */
public String getNoteSession1() {
	return noteSession1;
}

public String toString(){
	return "note premiere session "+ noteSession1 + " note deuxieme session" + noteSession2+ "\n";
}



public void setNumEtudiant(String numEtudiant) {
	this.numEtudiant = numEtudiant;
}

public String getNumEtudiant() {
	return numEtudiant;
}


public void setCodeMatiere(String codeMatiere) {
	this.codeMatiere = codeMatiere;
}

public String getCodeMatiere() {
	return codeMatiere;
}


}